package cn.com.api.service.impl;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_member_wemedia;

import cn.com.api.mapper.ApiT_member_wemediaMapper;

import cn.com.api.service.ApiT_member_wemediaService;
import cn.com.api.service.impl.base.T_member_wemediaServiceImplBase;
import cn.com.util.PageInfo;

/**
 * 
 **/
@Service
public class ApiT_member_wemediaServiceImpl extends T_member_wemediaServiceImplBase
		implements ApiT_member_wemediaService {
	@Autowired
	private ApiT_member_wemediaMapper apiT_member_wemediaMapper;

	public List<ApiT_member_wemedia> findT_member_wemediasByMap(Map map) {
		return apiT_member_wemediaMapper.findT_member_wemediasByMap(map);
	}

	@Override
	public List<Map<String, Object>> findMember_wemediasByMap(Map map) {
		return apiT_member_wemediaMapper.findMember_wemediasByMap(map);
	}
	
	public List<ApiT_member_wemedia> findFollowWemediaList(String user_id, Integer type, PageInfo page)
	{
		return this.apiT_member_wemediaMapper.findWemediaListByFollowTypeListPage(user_id, type, page);
	}

}
